package o;

import androidx.annotation.Nullable;
import com.google.android.exoplayer2.upstream.HttpDataSource;
import com.google.android.exoplayer2.upstream.HttpDataSource.b;
import com.google.android.exoplayer2.upstream.HttpDataSource.d;
import com.huawei.hms.support.api.entity.core.JosStatusCodes;

public final class alq extends b {
    private final int ˊ;
    private final int ˋ;
    @Nullable
    private final alx ˎ;
    private final String ˏ;
    private final boolean ॱ;

    public /* synthetic */ HttpDataSource ˏ(d dVar) {
        return ˊ(dVar);
    }

    public alq(String str, @Nullable alx o_alx) {
        this(str, o_alx, JosStatusCodes.RTN_CODE_COMMON_ERROR, JosStatusCodes.RTN_CODE_COMMON_ERROR, false);
    }

    public alq(String str, @Nullable alx o_alx, int i, int i2, boolean z) {
        this.ˏ = str;
        this.ˎ = o_alx;
        this.ˊ = i;
        this.ˋ = i2;
        this.ॱ = z;
    }

    protected alp ˊ(d dVar) {
        alp o_alp = new alp(this.ˏ, null, this.ˊ, this.ˋ, this.ॱ, dVar);
        if (this.ˎ != null) {
            o_alp.ॱ(this.ˎ);
        }
        return o_alp;
    }
}
